package cn.powertime.evaluation.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class WebReqPostingsSearchEventVo implements Serializable {

    @ApiModelProperty(value="帖子ID",name="id")
    @NotNull(message = "帖子ID不能为空")
    private Long id;

    @ApiModelProperty(value="用户ID",name="id")
    @NotNull(message = "用户ID不能为空")
    private Long userId;

}
